/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="BRASINDICEIPC")
public class BrasIndiceIpcProteu implements Serializable{

    @Id
    @Column(name="BIP_IN_CODIGO")
    private Integer bipInCodigo;
    @Id
    @Column(name="UNI_IN_CODIGO")
    private Integer uniInCodigo;
    @Id
    @Column(name="CON_ST_CODIGO")
    private String conStCodigo;
    @Id
    @Column(name="CON_ST_PLA_CODIGO")
    private String conStPlaCodigo;
    @Id
    @Column(name="BIP_ST_MED_COD_TISS")
    private String bipStMedCodTiss;

    @Column(name="BIP_ST_MED_DESCRICAO")
    private String bipStMedDescricao;
    @Column(name="BIP_ST_COD_CONV_TISS")
    private String bipStCodConvTiss;
    @Column(name="BIP_CH_MED_GENERICO")
    private String bipChMedGenerico;
    @Column(name="BIP_ST_MED_PRESCRICAO")
    private String bipStMedPrescricao;
    @Column(name="UNM_ST_CODIGO")
    private String unmStCodigo;
    @Column(name="CLM_IN_CODIGO")
    private Integer clmInCodigo;
    @Column(name="BIP_CH_PRECO_FAB")
    private String bipChPrecoFab;
    @Column(name="BIP_ST_COD_LAB")
    private String bipStCodLab;
    @Column(name="BIP_ST_COD_APR")
    private String bipStCodApr;
    @Column(name="BIP_FL_QTD_CAIXA")
    private Float bipFlQtdCaixa;
    @Column(name="BIP_ST_COD_ATIVO")
    private String bipStCodAtivo;


    public String getBipChMedGenerico() {
        return bipChMedGenerico;
    }

    public void setBipChMedGenerico(String bipChMedGenerico) {
        this.bipChMedGenerico = bipChMedGenerico;
    }

    public String getBipChPrecoFab() {
        return bipChPrecoFab;
    }

    public void setBipChPrecoFab(String bipChPrecoFab) {
        this.bipChPrecoFab = bipChPrecoFab;
    }

    public Float getBipFlQtdCaixa() {
        return bipFlQtdCaixa;
    }

    public void setBipFlQtdCaixa(Float bipFlQtdCaixa) {
        this.bipFlQtdCaixa = bipFlQtdCaixa;
    }

    public Integer getBipInCodigo() {
        return bipInCodigo;
    }

    public void setBipInCodigo(Integer bipInCodigo) {
        this.bipInCodigo = bipInCodigo;
    }

    public String getBipStCodApr() {
        return bipStCodApr;
    }

    public void setBipStCodApr(String bipStCodApr) {
        this.bipStCodApr = bipStCodApr;
    }

    public String getBipStCodAtivo() {
        return bipStCodAtivo;
    }

    public void setBipStCodAtivo(String bipStCodAtivo) {
        this.bipStCodAtivo = bipStCodAtivo;
    }

    public String getBipStCodConvTiss() {
        return bipStCodConvTiss;
    }

    public void setBipStCodConvTiss(String bipStCodConvTiss) {
        this.bipStCodConvTiss = bipStCodConvTiss;
    }

    public String getBipStCodLab() {
        return bipStCodLab;
    }

    public void setBipStCodLab(String bipStCodLab) {
        this.bipStCodLab = bipStCodLab;
    }

    public String getBipStMedCodTiss() {
        return bipStMedCodTiss;
    }

    public void setBipStMedCodTiss(String bipStMedCodTiss) {
        this.bipStMedCodTiss = bipStMedCodTiss;
    }

    public String getBipStMedDescricao() {
        return bipStMedDescricao;
    }

    public void setBipStMedDescricao(String bipStMedDescricao) {
        this.bipStMedDescricao = bipStMedDescricao;
    }

    public String getBipStMedPrescricao() {
        return bipStMedPrescricao;
    }

    public void setBipStMedPrescricao(String bipStMedPrescricao) {
        this.bipStMedPrescricao = bipStMedPrescricao;
    }

    public Integer getClmInCodigo() {
        return clmInCodigo;
    }

    public void setClmInCodigo(Integer clmInCodigo) {
        this.clmInCodigo = clmInCodigo;
    }

    public String getConStCodigo() {
        return conStCodigo;
    }

    public void setConStCodigo(String conStCodigo) {
        this.conStCodigo = conStCodigo;
    }

    public String getConStPlaCodigo() {
        return conStPlaCodigo;
    }

    public void setConStPlaCodigo(String conStPlaCodigo) {
        this.conStPlaCodigo = conStPlaCodigo;
    }

    public Integer getUniInCodigo() {
        return uniInCodigo;
    }

    public void setUniInCodigo(Integer uniInCodigo) {
        this.uniInCodigo = uniInCodigo;
    }

    public String getUnmStCodigo() {
        return unmStCodigo;
    }

    public void setUnmStCodigo(String unmStCodigo) {
        this.unmStCodigo = unmStCodigo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final BrasIndiceIpcProteu other = (BrasIndiceIpcProteu) obj;
        if (this.bipInCodigo != other.bipInCodigo && (this.bipInCodigo == null || !this.bipInCodigo.equals(other.bipInCodigo))) {
            return false;
        }
        if (this.uniInCodigo != other.uniInCodigo && (this.uniInCodigo == null || !this.uniInCodigo.equals(other.uniInCodigo))) {
            return false;
        }
        if ((this.conStCodigo == null) ? (other.conStCodigo != null) : !this.conStCodigo.equals(other.conStCodigo)) {
            return false;
        }
        if ((this.conStPlaCodigo == null) ? (other.conStPlaCodigo != null) : !this.conStPlaCodigo.equals(other.conStPlaCodigo)) {
            return false;
        }
        if ((this.bipStMedCodTiss == null) ? (other.bipStMedCodTiss != null) : !this.bipStMedCodTiss.equals(other.bipStMedCodTiss)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 67 * hash + (this.bipInCodigo != null ? this.bipInCodigo.hashCode() : 0);
        hash = 67 * hash + (this.uniInCodigo != null ? this.uniInCodigo.hashCode() : 0);
        hash = 67 * hash + (this.conStCodigo != null ? this.conStCodigo.hashCode() : 0);
        hash = 67 * hash + (this.conStPlaCodigo != null ? this.conStPlaCodigo.hashCode() : 0);
        hash = 67 * hash + (this.bipStMedCodTiss != null ? this.bipStMedCodTiss.hashCode() : 0);
        return hash;
    }



}
